import { createApp } from 'vue'
import './style.less'
import App from './App.vue'
import router from './router/index.js'
import {createPinia} from "pinia"
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'
const Pinia = createPinia()
Pinia.use(piniaPluginPersistedstate)


// 导入自定义指令
import loading from "./directives/loading.js"



createApp(App).directive("loadings",loading).use(Pinia).use(router).mount('#app')

